package com.infore.qualityControl.remoteService;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import com.infore.qualityControl.util.ResultEntity;

/**
 * 人员管理远程接口
 * @author shaolay
 *
 */
@FeignClient(name = "IdentityManagement-Service", url = "localhost:60008/IdentityManagement-Service/")
public interface ISysUserService {
	
	@RequestMapping(value = "users/id", method = RequestMethod.GET)
	@ResponseBody
	ResultEntity getUserById(@RequestParam("userId") String userId);
	
}
